/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.portlet.donggoi.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;

/**
 * This class is used by SOAP remote services.
 *
 * @author    Thi
 * @generated
 */
public class chiTietQTDongGoiSoap implements Serializable {
	public static chiTietQTDongGoiSoap toSoapModel(chiTietQTDongGoi model) {
		chiTietQTDongGoiSoap soapModel = new chiTietQTDongGoiSoap();

		soapModel.setMaChiTietQT(model.getMaChiTietQT());
		soapModel.setTenCongDoan(model.getTenCongDoan());
		soapModel.setCachThucHien(model.getCachThucHien());
		soapModel.setKiemTraThucHien(model.getKiemTraThucHien());
		soapModel.setTanSuat(model.getTanSuat());
		soapModel.setMaQuyTrinh(model.getMaQuyTrinh());

		return soapModel;
	}

	public static chiTietQTDongGoiSoap[] toSoapModels(chiTietQTDongGoi[] models) {
		chiTietQTDongGoiSoap[] soapModels = new chiTietQTDongGoiSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static chiTietQTDongGoiSoap[][] toSoapModels(
		chiTietQTDongGoi[][] models) {
		chiTietQTDongGoiSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new chiTietQTDongGoiSoap[models.length][models[0].length];
		}
		else {
			soapModels = new chiTietQTDongGoiSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static chiTietQTDongGoiSoap[] toSoapModels(
		List<chiTietQTDongGoi> models) {
		List<chiTietQTDongGoiSoap> soapModels = new ArrayList<chiTietQTDongGoiSoap>(models.size());

		for (chiTietQTDongGoi model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new chiTietQTDongGoiSoap[soapModels.size()]);
	}

	public chiTietQTDongGoiSoap() {
	}

	public String getPrimaryKey() {
		return _maChiTietQT;
	}

	public void setPrimaryKey(String pk) {
		setMaChiTietQT(pk);
	}

	public String getMaChiTietQT() {
		return _maChiTietQT;
	}

	public void setMaChiTietQT(String maChiTietQT) {
		_maChiTietQT = maChiTietQT;
	}

	public String getTenCongDoan() {
		return _tenCongDoan;
	}

	public void setTenCongDoan(String tenCongDoan) {
		_tenCongDoan = tenCongDoan;
	}

	public String getCachThucHien() {
		return _cachThucHien;
	}

	public void setCachThucHien(String cachThucHien) {
		_cachThucHien = cachThucHien;
	}

	public String getKiemTraThucHien() {
		return _kiemTraThucHien;
	}

	public void setKiemTraThucHien(String kiemTraThucHien) {
		_kiemTraThucHien = kiemTraThucHien;
	}

	public String getTanSuat() {
		return _tanSuat;
	}

	public void setTanSuat(String tanSuat) {
		_tanSuat = tanSuat;
	}

	public String getMaQuyTrinh() {
		return _maQuyTrinh;
	}

	public void setMaQuyTrinh(String maQuyTrinh) {
		_maQuyTrinh = maQuyTrinh;
	}

	private String _maChiTietQT;
	private String _tenCongDoan;
	private String _cachThucHien;
	private String _kiemTraThucHien;
	private String _tanSuat;
	private String _maQuyTrinh;
}